// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1

Rectangle {
    width: 1000
    height: 620
    ListView {
        id: jobs

        anchors.fill: parent



        model: ListModel {
            ListElement {
                name: "1"
                left1: 2
                top1: 3
            }
            ListElement {
                name: "2"
                left1: 20
                top1: 30
            }
            ListElement {
                name: "3"
                left1: 200
                top1: 300
            }
        }
        onAdd: {
                   console.log("onAdd")
               }

        delegate: Item {

            property int left1: 0
            property int top1: 0

            x: left1
            y: top1
            width: 100
            height: 20
            Text {
                anchors.fill: parent
                text: name
            }
        }

        highlight: Rectangle { color: "lightsteelblue"; radius: 5 }
        //KeyNavigation.tab: searchText
        //KeyNavigation.backtab: filter
        focus: true
    }
}
